body{
    background-image: url("http://localhost:8080/DormitoryManager/img/loginBG-manager.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

#loginBox{
    background-color: #00000068;
    margin: 0px auto;
    margin-top: 140px;
    border-radius: 10px;
    text-align: center;
    width: 450px;
    height: 460px;
}

#loginBox h1{
    padding-top: 90px;
    color: #ffffff;
    font-family: "Microsoft YaHei UI";
}

#loginTable,tr,td{
    margin: auto;
}

#loginBox #tdPassword{
    padding-top: 15px;
}

#inputName::placeholder,#inputPassword::placeholder{
    color: lightgray;
    font-size: 15px;
}

#loginBox #inputName,#inputPassword{
    color: white;
    border: none;
    background: none;
    border-bottom: 2px solid white;
    width: 230px;
    padding: 5px;
    outline: none;
}

#loginBox #inputSubmit{
    margin-top: 30px;
    width: 130px;
    height: 35px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    outline: none;
    background-image: linear-gradient(120deg,#a6c0fe 0%,#f68084 100%);
}

#loginBox #inputSubmit:hover{
    background-image: linear-gradient(60deg,#a6c0fe 50%,#f68084 100%);
}

#toIndex{
    padding-right: 10px;
    font-size: 25px;
    cursor: pointer;
}

#toRegister{
    padding-left: 10px;
    font-size: 25px;
    cursor: pointer;
}

#toIndex:hover,#toRegister:hover{
    color: gray;
}

